<extend name='layout:index'/>
<block name='content'>
	<div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                       <a style='font-size:16px;text-decoration:none'>&nbsp&nbsp&nbsp公司管理</a>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <form action="__MODULE__/first/update" class="mws-form" method='post' enctype="multipart/form-data">
                         
                            <fieldset class="mws-form-inline">
                            <foreach name='data' item='vo'>                               
                                <div class="mws-form-row bordered">
                                    <label class="mws-form-label">官网公司名称</label>
                                    <div class="mws-form-item" >
                                        <input type="text" class="small" name='com_name' value='{$vo[com_name]}'>
                                    </div>
                                </div>
                               
                                <div class="mws-form-row bordered">
                                    <label class="mws-form-label">官网公司地址</label>
                                    <div class="mws-form-item" >
                                        <input type="text" class="small" name='com_addr' value='{$vo[com_addr]}'>
                                    </div>
                                </div>
                                <div class="mws-form-row bordered">
                                    <label class="mws-form-label">工作时间</label>
                                    <div class="mws-form-item" >
                                        <input type="text" class="small" name='com_time' value='{$vo[com_time]}'>
                                    </div>
                                </div>
                                <div class="mws-form-row bordered">
                                    <label class="mws-form-label">商务合作</label>
                                    <div class="mws-form-item" >
                                        <input type="text" class="small" name='com_coop' value='{$vo[com_coop]}'>
                                    </div>
                                </div>
                                <div class="mws-form-row bordered">
                                    <label class="mws-form-label">公司logo</label>
                                    <div class="mws-form-item" >
                                    	<img width='80px' src='__PUBLIC__/{$vo['logo']}'>
                                        <input type="file" class="small" name='file' value=''>
                                    </div>
                                </div>

                            </fieldset>
                           </foreach>
                            <div class="mws-button-row">
                                <input type="submit" class="btn btn-danger" value="提交">
                                <input type="reset" class="btn " value="重置">
                            </div>
                        </form>
                    </div>      
                </div>


<!-- //审核 -->
<if condition="$note eq 'root' ">
<div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                        <span><i class="icon-table"></i> 审核现金出售信息</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <table class="mws-table">
                            <thead>
                               <tr>
                                    <th>卖出会员</th>
                                    <th>交易类型</th>
                                    <th>出售数量</th>
                                    <th>人民币</th>
                                  
                                    <th>操作</th>
                                </tr>
                                <foreach name='money' item='vo'>
                               
                                <tr>
                                    <td>{$vo.sell_user_name}</td>
                                    <td>{$vo.content}</td>
                                    <td>{$vo.sell_num}</td>
                                    <td>{$vo['sell_num']*$vo['sell_money']}</td>
                             
                                    <td><a href="__MODULE__/first/shenhe?mk={$vo.mk_id}">审核</a></td>
                                </tr>
                               </foreach>
                            </tbody>
                        </table>
                    </div>
                </div>

</if>
</block>